package com.controller;

import com.service.P_inforService;
import com.util.P_infor;
import com.util.P_recored;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class P_inforController {
    @Resource
    private P_inforService p_inforService;
    @GetMapping("/see_person_infor")
    @ResponseBody
    public P_infor See_person_infor(@RequestParam String pAccount){
        return p_inforService.see(pAccount);
    }
}
